Fix running wrapper scripts in bash - necessary on Debian based systems since they use Dash by default