Comlile scripts

Replaced batch/bash scripts with Makefile