added directory select option