use a json config file, because the old password file wasn't working on windows.