In ETPub based Lua modules, the scripts are read in the
qboolean G_LuaInit()
function at g_lua.c. I think that is the place to make the modifications. I would suggest adding a cvar for the directory, similar to g_mapConfigs and g_mapScriptDirectory cvars.