src/sancara: better handle lua scripts