bug fixes, added restrictions on the maximum candidates per strategy. adjusted ruby script to fit new output format.