Revert "Postpone initialization of Lua environment"

This reverts commit c28fb04dda7da35f4aef54d0fa498b520bbd5c77.