Adding logic for bucket  name to api