If role attribute exists, use it