fixed issues with modulefile and metadata.json