Changed scripts to use bash instead of sh.