Clean up the main plugin file