spath and dpath options added