fix issues with bash scripts not running in win/acme