Dunfermline, 1854