replace config.h instances with variable