Script for dumping ways