drop layout cache before setting new layout style
upload scripts to cdn