Added -i commandline option.