Changes:
- Code-style
- Refactored printMessage logic (added method _getScriptName()) for determine script name