new cloud code for day configurations