Fixed buildScript