Added background job to waveform generation