modified the make script