cd to script folder when run from outside the folder (like in cron)