Removed the remote script alert. Adding a global variable instead.