Updated SConstruct and accounted for rollover in timer.