Improved startup script (restart & status)