Python script to setup batman networks