make sure we have all the metadata when submitting a job