add support restart script without overwriting