chore(scripts): fix the versions script