fix restart script end of line