deleted message output after script terminated
Load main script directly into lua state

The script is not longer loaded with require for easier access to global
variables.