rejig to njinx config