removed use_inline_resources
Use inline resources only if it is defined.