add options when directory isnt empty