adding recurse to deploydir creation and ensure