Added config file support and more branches updating