Moved task setting into file