Added compression before insert

Also, I have made a shortcut for 'console.log', now its 'log'.