Bug fix tmp_file option making script die