revert to working build script