Done migrate to bash shell script