Added interactive mode.