update main.cgi to add a sample.png