replace makefile with manage script