Restores $_GET and cookie functions required for embed script