Added unloading of plugin if there is no rerun option