Python class and .plugin file for revert all plugin