an auto script