save end of night work