Added script for handling challenges.