added script to check NS solution