Update Modulefile to have correct name and fix 'is_pe' logic