added support for process arguments