Change logical operator in runTask