use powershell mode for modules too