update generationl line to make it work on Windows