Added queries for loading analyses