cd to script path first