fix command-line scripts to work with username.json files