Refactor all these paths in resource exec

Code smells inside exec resource usage...

Can the $PATH not be set once and for all, or once as default and overridden when needed?