Remove console.log; handle keywords array