- Added Shutdown function