Mender-artifact modify state scrips

Hello, I started using the mender-artifact tool to edit artifacts in order to avoid rebuilds for minor changes but I have hit a snag in figuring out how to edit a commit enter state script. Is editing a header file such as this supported and if so would someone be so kind as to point me in the right direction. Thank you!