Designing and transferring environmental flows