@ryanscripts even if its deprecated you can still use it, but keep in mind that it changes only header, not internal user-agent like in navigator and etc
...\BrowserAutomationStudio\release"ScriptName"\appslocal\e3b0c442\SID505939e4\engine\prof
Check this folder for temporary profiles. They should be deleted after finishing work.