add debug code for sample deployment
reverts production back to proper settings