Added subprocess.
Networkx in correct order.