added functionality to allow cmu to submit twice by deleting previous
entries