updated overwrite_nc_variable so that it hopefully won't print out unnecessary info