Creates variables and domains in receipt qs