restart script working