adding esc alternative command
tweaking ir_black for python