Wrote all the queries that are to be run after an accrediation