Fixed exporting the weight settings (must be done trough features[weight] and not trough variables).