Made some links conditional