Adding assign parameter to tasks call