fix auto make script