Sp 721

added suppport for FK in plugin export and loading