upload large templates to bucket automatically