aha yeah i didn't take that into account. I tried to find a unified directory so people running multiple versions of max would get the last saved settings in all versions. But since i never really setup a different project folder inside max itself it's always the standard one
i fixed it by saving the ini file in the max scripts folder if it returns an undefined.
you can download the updated script
tnx for pointing this out