Enable py pl env
add escape
Support on off switch