Add interrupt handler. Fix error when .agileconfig doesn't exist