script changed to send html files