Alignment and Obstacle action code modified.