added ECG support
modified makefile