Added terminate_node script