Apply `config` for scripts