Glenn beat me to it. I was going to suggested throwing away that script and to re-write it with readprofilestring. No sense using an INI file if you are just going to brute force read it. \:\)