bah
cleaned up config code