Clear all the script to start with new upgrade method.