Add -e to the sh command

This is to get the correct exit code