modify generator to use correct paths