added some flags in IPE so it's easier to debug