Added basic waveform upload support, not fully tested