Create scan.lua