Updated restart script to remove alert once button clicked