moved adding styles/scripts to layout file