NuGet functions, and some misc scripts