Add to handy script to automatically migrate to automatic package restore

Came from @owen2 via #242 but there were merge conflicts. I re-applied the addition here.