remove 'cgame' global, just use 'cg' in script