updated scripts for CloudID