Script to load xml and html files