Better communication with AWSSDK and bug fixes