added checkrequest script to pull down data from mysql database to set up for emailing.