after trial and error, even on a clean setup, seems it was me testing and un-commenting two lines in the script that were at fault, note to self, stop testing and un-commenting things
Embarrassing thing is, i did check those two lines and thought i had re commented them out and saved the file, guess i hadn't