Edit config before run.