added html layout download feature