coding standard: should be "const QString& scriptName"