Added urlParameters handling. Select a branch from the repo + local mode