changing directory to script home added