Fix for multiline bash command execution