Add role, event parameter to execute_pattern.sh.