add custom output path feature.