a script for auto booking  badminton court.