Support vars in extra args

also, added a max_time to the performance counters, indicating the unixtime in which the max was measured