remove script extension