run dependent tasks first
add task params