update upgrade script to be configurable as well