making config more flexible/universal