Change back APPNAME and user agent variables for the sake of debugging