rework for foundation support on heroku, sigh