Added FUEL_MAIN_BRANCH parameter and saving it to txt file

Change-Id: I6349dccdb2e8b637ee3fab556294693a686dec51