Cleaned up settings var to match pre-existing code