Restructured the execution of code. RawHTML now works as it did in previous versions as well as the new functionality.