better error checking for this thrown-together bootstrapping script