add options to customize format and path