make scripts dirs relative