Convert all errors to go to stderr instead of stdout in scripindex