updating shutdown with random code