Added delay parameter on capture command

Added delay parameter on capture command