Modified Rundeck script to generate resource nodes