Some bugs fixed. Can execute dynamic irep creation