changes styles and templates