started development of searchpath checking routine
added several comments