Rename config function as it's going to be used for more than just the cli config now