improved make batch file