write to yaml
backup queries to yaml file
load queries to amog