There were other reasons behind the switch. SS troops were beginning to become unhappy from shooting large numbers of people. Plus, it consumed a lot of ammunition. And they realized the large pits full of bodies would be found and the world would realize what they had done. The death camps solved all these problems and as bonus were much more efficient.