added local regression script
added jitter script