corrections for non-bash scripts