Updating command implementation to write to console.