Added conditional if no imports existed