Moved results boxes into script file