require config instead of reading as json file