scripted CTPConnect