added sixtenbe's peakdect script