add: interactive mode support.