Add set_segments_rootpath instruction