Fixed bug where s3 was not being checked for on config