Change sink.locations and source.locations to drains and specified.flows