add cleaning to bridge-maker (now bridges.rb)