u/fjammes/dm-1446

Reviewing DM-1446
Do you need `bash` for this script? If not then use `/bin/sh`, it should be slightly more portable.