timezone hook also fixes rake tasks