build script now 100% working