fix references to styles and scripts