Hi Ellensi, we should not use **MigrationManager.CreateFunctionNodeFrom** here because it essentially creates a **DSFunction**, which we do not want in this case. **DSCoreNodesUI.Logic.If** is a node type by itself, it is not an external function like **Math.Cos**. Here we are just trying to change the type of the node during DYN file loading, so please use "MigrationManager.CloneAndChangeType** method.