fixing config to work with aws