in sv.write_to_file modified the prior/optimized identifier in function call to be prior/opt text instead of True/False