Improved CC script