Adding shutdown script