Makefile updated to support submit