Used entrypoint function instead of duplicating it on main if statement
Used entrypoint function instead of duplicating it on main if statement

google/capirca,google/capirca,google/capirca,google/capirca