fix deprecation warnings
fix regex warning for exec resources
Merge pull request #4 from Phil-Friderici/fix_deprecation_warnings

fix deprecation warnings
Merge pull request #5 from Phil-Friderici/fix_regex

fix regex warning for exec resources