added array support for searchPath