adds version from package.json
fixes isCommand