Release hunt loop done!

updated cloud code for avoiding loops in the logic