Added support for screens with external styles