moved the dynamic styles and scripts into a separate block