reordered q_value entries
adding a fully functional make_q_value script