Add main plugin script