changed output filename generator