remove multi-edges from dag, delete python scripts