modified SQL to pull more recent data (past 30/60 days)