add console.log() wrapper and various messages