Add task handling to imports

allow imports to carry along task info

[Story #49167601]
schema changes