Modified the avoidobstacles file