changed to add variables from config.yaml