add iml file, add states to the task