Added 'script' and 'style' to prettify exceptions.