new bash script for leader