bash not sh, and replace backticks