update styles, move styles out of scripts