Structure Selection Logic added to Structure Agent