Load main script.
Move Lua engine initialization to main().