Solved interactive mode issues.