Handling for config variables "script" and "molecule" has been added as well as initialization of state in the event these config variables are not defines.
Minor change for building UI structure.