fix management node script