upgrade to require bash instead of sh