Lua based IPS file patcher