scripts and styles moved into separate files