Have app export to s3 on termination