adding gen meta data script