make build scirpt generic