Styling and script updates to main layer