possible fix for unconfigure_plugin, permission workaround for download_file