changed direct to the directory