I was having a problem with vmd scripts, it went well until i have changed the box size of solvate plugin settings, then it came across with the autoionize command, said there's something wrong with psf files, which concerns me a lot. I have checked the psf and files in log, all appears to be good. Here's the code as followed.