set up base64 template