Changed to use bash instead of sh