added one of RMs queries to the queries file
merged RM and AM bq queries
trying to fix last overlarge commit