update sorry for the late response - the source used on the script to resize the pngs, their servers were down earlier so couldn't test fully;
both scripts now work as they should
thanks a lot birdman for all your help; absolute life saver
I did also fire up my old windows laptop earlier and tried the default unchanged scripts which does work ; so it's the software i'm using on the mac that's the issue