Allow patter to be fully distributed

These 3 commits make it possible for patter to be distributed without relying on the original s3 bucket, or the original client id.