scripts upgrade