Switch to node name 'main' for non-autogenerated main nodes