fixed esc.py; removed debugging prints