Added debug option in settings