modify config writer to work with pagodabox setup