Updating now with sec bugs in separate queries, not printing summary in emails