simplified restart script to get it working