pass headers to tasks