add target option to load_plugins