Allow export path to be specified via command