removed directory creation stuff (overkill, dangerous, bad idea to start with)