added option to accept additional paths