updated findmodules to run on python 3