Add check mode support for non-python modules
Add helper for modules written in bash