first scan both dirs after cap then scan x

first scan both dirs after cap then scan x and also changed map for
relay  test