Some updates to build.sh

Useful for tests in feature/list