Shutdown Hook added