Added media directives in settings