debugging live deployment - adding console logging