added morning and night images and logic