Add seperate scripts for control and leaf nodes.