fixed includes
partial support for CTRL-D exit in INTERATIVE mode