Updated wd in script