cleanup mesh python script