Moved working directory statement