Changed the -i parameter to -r in order to avoid a conflict with a generic flag interpreted by the common code.