Added init for interactive mode