Messing around trying to get the upload_template to work