correct the build spec and script