GUI-120
broke out config check into function