Fixed bugs and added some useful attributes for Submissions