Hi Mythic ,
Using your method , i have been able to bring my vega 56 to start with 1730 - 1750 h/s per second from 1100 - 1200 h/s because i am using your script to disable and enable hbcc. ( this process because of your suggestion is automated).
however , i am not able to understand how to automate global wattman settings like increasing the gpu frequency to 30% , gpu memory to 950 mhz , reducing the power usage to 20% and toggling the fan speed to manual and putting the minimum fan speed to 3000 rpm , i would like to know if these processes can be automated , because doing it 1 time is oki , when power goes off , you have to do the 4 above processes once again.