removed ks and fixed options.metric, which was hardcoded to 'strings'