Fixed call variables for SHEL and PREG

line 1099 and 1114 changed.
Merge pull request #155 from courtrightd/patch-7

Fixed call variables for SHEL and PREG