a better build script