Initialize $queries