added some aws functionality