added changing current dir to script location dir