Use the cwd option of run instead of chdir since chdir isn't supported remotely