A script to automate the manual casper upgrade process