Developing a scripted plug-in