Fix BuildScript