Added time type to prepareArgs, add time to history reformat'