Fixed so directory name can be anything