Support experimental uploads.
Call chdir before bash.