run script with leader mappng