Add plugin script and templates