Added support for "-op" parameter

These commits add support for "-op" parameter.