Neutron spectrum unfolding using activation foils is currently the primary technique planned for measuring the neutron energy spectrum at the first wall of power-generating fusion reactors. Room for improvement in the effectiveness of current foil selection was identified, and a program produced to select foils procedurally in order to maximise the accuracy of the unfolding procedure. Using Kullback–Leibler Divergence to quantify the accuracy, the spectrum unfolded by the procedurally selected set of foils is found to be more accurate than the spectrum unfolded by a set of foils used in the literature.