Add processor type detection in script to use the same script for 64 and 32 bit system.