Made 'cc' variable global

*fingers-crossed Hope it fixes the problems I’ve been having