engineering direct buy checks

renamed sqls to designate original sql and the current reporting sql