Absolutely please use https://github.com/stevesaner/pi-sdcard-setup script.

Since posting this show, there has been a follow up episode
https://hackerpublicradio.org/eps.php?id=3173

The script mentioned here is now been maintained on github at 
https://github.com/kenfallon/fix-ssh-on-pi