kind of figuring out config variables, still hacky