Add debug info for beeps
Fix start offset calculation
Update scripts