added automatic mirrorsearch