Working on more efficient and accurate writing to wp-config.php