Fixed issue where the S3 config may not have finished before the S3 cmd runs.