Adjust the lua templates for the lua modules.