Slightly more generic makefile
More generic mass submit script