Made config generic