still working on error handling for invalid config vars