Added additional pattern matching to powerModExec