How to script utility mode commands on all segments?