I realized that the little function that prints an error if you don't have the config file shouldn't really be part of my stats script. Include 'source("housekeeping.R")' in all your scripts to make use of what it does.