Feature/externalscript

Merged Thomas Fetzer requested to merge feature/externalscript into master

Unfortunately this contains some other commits which should have gone directly to master. I apologize for this mistake.

Merge request reports