Add obstacle detection and remove debugjob