improved locate command