Add queries and jobs