Fix cli scripts
Merge pull request #91 from BtbN/cli_fix

Fix cli scripts