fixed bug when attending script worked only once
Merge branch 'Attending' into development