added sub_directory option

Sorry, but could you explain a scenario when this would occur? 

I'm pretty noob and have not seen such situations occurring.