changes in keys.dat, edit hours/days/months is working now, variable time_period inserted