run scripts file to populate the data of metadata collection in mongodb