Added documentation of custom queries and updated make_queries.md