fix command-line scripts to work with username.json files
Merge pull request #259 from theVDude/master

Fix edit command