Fixed and moved Lua scripts to fit the SERVER/CLIENT/ENGINE approach