added scheduledQuery localization