fixed a bug that prevented correct self-evaluation of keywords. made building the distribution a little more convenient.