Replaced the .sh script for a Makefile