implemented ability to specify directory via bulk param