use capture3 instead of using a pseudo shell command
more portable and also more reliable and easier on the eyes. I love it!