Changed signature to the decorated function

The decorated by automain now accepts *argv, instead of a single
argument.