rework the script code organization
manage project branch protection with the cmd line