add this to your script

PATH "\\models";

Now it should also work when the models are in the subfolder "models"

What do you mean with vanish? In WED or when running?