updated skeleton code of pug.lua