added path maker snippet for processing dir