Deleted redundant scripts and fixed 32 bit bug