Add delay option to allow for HTML to load