[script] getNewIP with temp files