Fixes version indexes of the scripts.