added metadata output while assembling