Fixed issue with the wd being in the wrong place