added metadata script