cli: Fixed incorrect execution of -b -s <script>