Generation of cutom tasks