auto script & ks