Why did Irish people emigrate to Scotland?

Probably as a result of the Irish potato famine of the 1840s.