fixed the make scripts