update time/date routines
add tariffs variables
update variables