Run select after all metadata is filled