Create a dynamic list of modules to validate instead of a static one