remove the shell scripts and move to makefile