add delay param to runShell API