Modify scripts to support marketplace-stage certs.