Translated all task_types to be integers