Add support for specifying deploydir, and chowning after deploy