fix nuget scripts
fix equality checks
Fixed nuget scripts.