Reorganize build.sh code
Add mount operations