Add getProfileQueries