change share/module to share_dir()