added a separate build directory
command line argument for local git folder, minor edits to support separate build directory