Updated build script and documentation