Adds task definition (hacky start).