run capture.sh in current shell