Core Lua Scripts for qless