final fixes to run a lua based server