Detection shell edited.
It should work with both /bin/sh or /bin/bash