How fusion two Lua Bytecode?

I have achieve a PE Executor based on Lua-Compiler.

But i have a problem:
I fusion two script: Tools and the Content of the Script and compile it but the size is big.

So i have a idea: Create two bytecode and fusion it when run but i don’t know how to do.

The first bytecode is the helper tools (and anti-infect) and
The second bytecode is the content of the script.

Disclaimer: I use Yueliang for the compiler.