Fixes issues #407.
Merge pull request #408 from starcraftman/fix_interactive

Interactive mode restored. Fixes issue #407.