Added error handling for missing keys in Quest files