Updated and working code
removed aws credentials