Making the first item in the environment list the default instead of the last one.
Fixing multiple alias bug.