Refactoring of 2013 submission parsing script