addAvailability curl script