updated scripts, topology parsing