Adds cloud code