move resolve_options to plugin-util