tweak to aws initializer to correct env variables