rewrote update_check_config as a simple script