removed console.logs, fixed cli issues