Add error log in console, change the version