Deployment: removed usage of chdir() [Closes #38]