add interactive option
console will finish when EOF is inputted