Fix import task creation and add compliance check task dependency