add makefile and script