Cleanup and end of day changes