Generate days ui from script