adjust restart script