Added missing settings variable