use_inline_resources if defined