Add options for repo branches & build demo database