Added ability to create temporary repo and build directories.