Fixes for running code compiled by ESC