currency token exchange cgi script