Loading from the queue yaml file and from the datastore