made build script better