adding metadata script