Revert

Somehow adding 2>&1 broke the code. Will look into it tomorrow.