This was causing the agent sometimes to pick up on the incorrect syntax when asked to write extensions with flags