There is bound to be someone from West Lothian area on the forum who will have experience in this matter, but as Andy says, make initial enquiries regarding the size of outbuilding allowed without planning permission, then request a letter authorising you to erect that size of structure.