segment tool setup