Made various changes to programs for the competition