add main plugin file