fix sr8 and save totaltimerun on shutdown