fixed an issue with the bash pipe results directory