import lib_s3 from mirrorproject code base