Lua script of pages (Step II)