if(time - $StartTime) > 30) { &RefreshData; $StartTime = time;}