changed the build script and how the docs are commited