Your autoaction is returning 1 instead of, perhaps,
$item[1]. The 1 is the return value of the
print statement in your autoaction code. That's why you are seeing in your output:
int=10
time=1
int=12
load=1
...
instead of:
int=10
time=10
int=12
load=12
...
Also, in your case you can safely remove the assignments to $return from your code. Assigning to $return is useful if, for instance, the return value is determined by an action block which is not the last:
production: stuff { $return = ... } and other { ... } things { ... }
Normally the return value would be whatever is returned by the action following
things, but in this case it is set by the code in the action following
stuff.