Minor - formating.
Guard against target script being empty or None.