Please, update this script, we've found an issue.

On x86 systems doesn't work so, starting by the line 63 we check if the architecture is x86 or x64.