Use use_inline_resources only if defined