update to remove need to set wd in script