Improved plugin builder script and documentation for plugin developers