Define DATABASES variable before assigning to it