Add automatic configuration function into setup.sh
Modify order of adding to exec-path