final code from avc 2014. works on mr t. doesn't currently have speed-based wp accept enabled. don't know why.