capture and graphplay scripts take command line options