pass in config obj

fixing merge screw-up