Changed template to base64