added logic for ajax schedule version