script for running topology, needs work