Day/Night Functionality

Fixed and running.