added script: matching code in ninet