Converted from the Stratis storeConfig.sqf

Basically the same as Stratis but from Lines 746-785 is theirs