Added get_s3 functions.