adding shutdown script