Refactor bucket name to global variable