Use the right resource type