Added shutdown hooks