Script now identifies repo type

This is only the first round; I haven't started trying to test pushes to
the various repos, etc.

Also updated readme.