Added functionality for submissions, not just comments