removed unnecessary lines regarding writable dirs