Create check.lua