Added better build handling

Added sweep of build directory to flush old versions from commits.