script updates
implement shares functionality in deserializer and tests