extra scripts for plugin