Schools automate attendance