Fixed not changing working directory