Added configs. Updated build hooks to support branch specifications and configs.