added open directory