WORKING: leader elections on our 3 scripts