Update cpp template
Add run_rb