moved AWS credentials pull to global variables