Here is a link to my Gitlab where I keep all of my PulseChain Validator scripts. I try my best to keep this updated as changes/improvements happen. Feel free to copy and customize are you want.

https://gitlab.com/davidfeder/validatorscript