changing vector vis exit when no images are found