Made it almost work. Writing to disk doesn't work. File rights?