conditionally add resource prefix