mod build script