use bash not sh