Added a separate script to clean nodes.