-i option was missing from commandline option parser