Fixed configurator
Updated build script