add get attendance script