Fix cred download and creates directive for CC