added config options. fixed nav