Move task_enabled to the end