use_inline_resources for why-run
Change mode on directory wrapper_dir only if not exist