add option to output markers to custom directory