Changes default HTML file and allows custom repetition counts