On a theorem of Scott and Swarup