changed config to check define/constants