added ESC disable flag to config