Update build.sh

Wait after copying parameters.yml.