changed message= to message.append in main.cgi