Fixing script to run x86