add capture sample script