update makefile, update script