Modified getSidePreference to determine time in specified region.
added scripts