added parameters for access key/secret key