using bash instead of sh