Bringing code from repo eegpipe