scripts for auto task