added autosubmission for tickets and class