create circuit script