Merged most of the scripts into a Makefile