added LC_ALL=C to speed up bash commands