change to AWS JSON script