Same here, instead of getting pwd, pass the RootDir variable & use relative paths if the scripts remain in same folder forever :)