More work on ccapi.lua
Stuff
Tweak/fix scan()/runCC()
Tweak runCC()