Restoring Environmental Flows by Modifying Dam Operations