modify script extension