Reordered the svc_hosts script

This is a more logical flow than the hodgepodge that was there before