Fixed a typo in archi.sh.
Disabled locale change for now.
Refactored code