Attempt to fix mogenerator installation