Updated to dos for generator