change directory during script execution to script's path