Extend modification script to compile LuaTeX automatically