change program to print html to command line