Code Escape Support

Hakim, I took my best guess as to where to include this code. Tested and it works.