added exit if directory already exists