end of day clean up procedures