extract custom styles/scripts to files