Thanks for this mate, although it doesnt solve my initial problem I think I will just use this alternate approach as it still has the same outcome for the user.
I’ll take a look at make as well - appreciate the suggestion!