updated plugin.xml
comments; minor refactoring
better error message when startup script is not found