Adjusting CC model to get the sky gradient working