Changed -t to correctly update active time
Changed -t to correctly update active time