Optional loader for BS gem and fix setting exit_code for base runner.