extractstructure - Script command