fix path by cd-ing into the script directory