add a script to check config.