Script upgraded