Added interactive mode

Interactive mode