First commit of pi-mirror python script