Made the dynamodb work