add the tasks property
cleanup, normalize task args, setRegistry