Implemented --interactive option.