Rename templates
Encode in base64 item_id rather than urlencode