Fixes the version indexes of the scripts.