Update and rename next-nug.cpp to set-nug.cpp