use options in task registration (a fix)

sorry about the last change - this one is well tested and working fine.