Add exists check for config variables