Scottish town, port, and racecourse