Make the generate option actually generate a file again