Some Changes to the Principal Layout and Scripts

Scripts and Changes to the layout