updating to run correctly on amazon