minor tweaks to quiz script