updated auto pull script