removing the platforms, hooks and plugins directories