changed config stuff to work with our code