Bugfix for results script