Fixing directories not existing, closes #3