fixed exit status of wrap_with_dots.sh script