Added HTMLUI Generation Code