Cleanup
Added optional output flag to build script