I voted to remain in.
The EU provides much in the way of human rights and employment protection that the UK would love to ignore. Furthermore, to increase barriers with Europe makes no sense in a world that is becoming smaller by the day. There is no hiding the fact, that the whole exit issue was kicked off by those on the right of the political spectrum for purely selfish reasons. Mostly because they find that poorer countries are now joining the EU and don't see why we should be part of a union that may expect us to support them.
Yes, there are some things that could be handled better by Europe, but over all, it makes more sense to be a part of that Union than to break from it. As for immigration. Scotland is a mix of many peoples. Possibly the largest group coming from England who have invested well, mostly in the Highlands. My own ancestry, indeed, reaches back to Ireland. So, 'immigration is' not all bad!
What some outside the UK may not know, is that should the UK vote to leave the EU, then this could spark a further Scottish Independence referendum as the preference here is more pro-Europe than elsewhere in the UK. Now that may be interesting.