Split scripts and styles