static build script