Fixes AWS key loading