Added code for HTML interface changes