LUA scripts for CC addon