changed queries to work after 7pm