diff --git a/umbraco/presentation/umbraco/scripting/templates/rb/SubpagesFromAChangeableSource.rb b/umbraco/presentation/umbraco/scripting/templates/rb/SubpagesFromAChangeableSource.rb
index ec909378c1..4b0c5b494a 100644
--- a/umbraco/presentation/umbraco/scripting/templates/rb/SubpagesFromAChangeableSource.rb
+++ b/umbraco/presentation/umbraco/scripting/templates/rb/SubpagesFromAChangeableSource.rb
@@ -1,8 +1,18 @@
-
-result = "
";
+Umbraco = Object.const_get("umbraco")
+Library = Umbraco.const_get("library")
+NodeFactory = Umbraco.const_get("presentation").const_get("nodeFactory")
-currentPage.Children.each do |this_item|
- result += "- " + this_item.Name + "
"
+# Set the node id you would like to fetch pages from here
+# You can also set it as a macro property with the alias 'nodeId' instead
+
+parent = NodeFactory::Node.new(System::Int32.Parse(nodeId))
+
+
+# Start writing out the list
+result = ""