when I run the below script every time it adds random text a UU and saves and then again it when the alert comes that the key already exist it adds again and then saves and goe