Added Security

There was an exploit which could damage the whole script.
resolved that.....