allow specifying branch to use
fix the admin pages