For some reason, arg is the process arguments and not the function arguments, fixed with a little recursive packing...