Added updating feature

Now can script notify about new version and offer an update.