Added support for Python modules placed in dist/media/scripts and dist/media/modules/scripts.