-i/r switch behavior corrected

the -i and -r switches did not allow a package to be cited, and this has been fixed. I still need to create an array function to allow more than one argument to be passed to these switches.