added version control to console.log
added automatic height adjust