Added some console.log to debug the deployed version