automate viewer config