tried to do sth for result in mainscript; updated the result.html