changing flag autonomous