Fixed bug with phase 4 overwriting grid info files