added path prefix to flat theme.