add shutdown script