change html generation script