Switched from cli to logger