added script to properly format submission file
bugfixes