make generate tile into one task where s3 bucket is the deciding factor