finished off search route settings functionality