Add updated shell script and Makefile